package com.ericsson.enap.modules.kpi.service.impl;

import com.ericsson.enap.modules.kpi.entity.ImsFiveKpi;
import com.ericsson.enap.modules.kpi.entity.ImsNbiKpi;
import com.ericsson.enap.modules.kpi.mapper.ImsFiveKpiMapper;
import com.ericsson.enap.modules.kpi.mapper.ImsNbiKpiMapper;
import com.ericsson.enap.modules.kpi.service.ImsFiveKpiService;
import com.ericsson.enap.modules.kpi.service.ImsNbiKpiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ImsNbiKpiServiceImpl implements ImsNbiKpiService {
    @Autowired
    private ImsNbiKpiMapper imsNbiKpiMapper;
    @Override
    public List<ImsNbiKpi> findImsNbiKpiList(String collectorIp) {
        return imsNbiKpiMapper.findImsNbiKpiList(collectorIp);
    }

    @Override
    public List<ImsNbiKpi> findImsNbiKpiListByType(String type) {
        return imsNbiKpiMapper.findImsNbiKpiListByType(type);
    }
}
